<div id="breadcrumbs">
  <%= link_to 'Index', forums_path %> &gt; <%= forum_crumbs(@forum) %>
</div>

<% unless @forum.children.empty? %>
  <%= render :partial => 'forums', :object => @forum.children %><br />
<% end %>

<% unless @forum.category? %>
  <%= render :partial => 'shared/topics' %>
  <% if current_user.can_create_topic? %>
    <div class="button"><%= link_to 'New Topic', new_topic_path(:forum_id => @forum) %></div>
  <% end %>
<% end %>

<% has_pages? do -%>
<div class="pagination">
<%= prev_page 'Prev' %>
<%= all_pages({}, :class => 'page_link') %>
<%= next_page 'Next' %>
</div>
<% end -%>